Network Tweaks - Changing the listening Port on Remote Desktop

You can use the Remote Desktop feature in Windows XP Professional to connect to your computer from another, remote computer. WARNING: The Remote Assistance feature in Windows XP may not work properly if you change the listening port.

To change the port that Remote Desktop listens on, follow the next steps:

  1. Open the Registry Editor click on the Start button on your taskbar, then click on Run and type "regedit" and click on OK to start the regedit utility.
     
  2. Expand HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber (see picture 1).

    Picture 1
  3. On the Edit menu, click Modify, click Decimal, type the new port number, and then click OK.
     
  4. The modifications you made will be in effect after you logout or reboot your PC.

Note: When you try to connect to this computer by using the Remote Desktop connection, you must type the new port.

You need also add this to the default.rdp file for the XP Terminal Client.

Add this line anywhere in the file:

server port:i:your port number
ie server port:i:your port number

 


Author:

Lex van der Horst

Date Added:

06-11-2004

Last Reviewed:

06-11-2004